<?php
namespace app\demo\controller;
use app\demo\model\Test;

class Index
{
    public function index()
    {
        $db = new Test();
        $row = $db->execute('insert into think_test (name,create_time,update_time) values (?,?,?)',['thinkphp',time(),time()]);
        return $row;
    }
}
